package com.rui.study.micro.attach.util;

import com.rui.study.commons.model.GlobalStatus;
import lombok.Getter;

@Getter
public enum StatusCode implements GlobalStatus {
    SUCCEED                             ("00000000", "success"),
    SYSTEM_EXCEPTION                    ("ATTACH-99999999", "系统异常"),
    ILLEGAL_PARAMETER                   ("ATTACH-10010001", "参数错误"),
    ACCESS_DENIED                       ("ATTACH-10010002", "拒绝访问"),

    ;


    private String status;

    private String message;

    StatusCode(String Status, String message) {
        this.status = Status;
        this.message = message;
    }
}
